Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Take all incomplete results into account in overview statistics #2564

Merged
merged 1 commit into from
Dec 3, 2019

Conversation

Martchus
Copy link
Contributor

@Martchus Martchus commented Dec 2, 2019

@codecov
Copy link

codecov bot commented Dec 2, 2019

Codecov Report

Merging #2564 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2564      +/-   ##
==========================================
+ Coverage   91.44%   91.45%   +<.01%     
==========================================
  Files         181      181              
  Lines       11180    11182       +2     
==========================================
+ Hits        10224    10226       +2     
  Misses        956      956
Impacted Files Coverage Δ
lib/OpenQA/WebAPI/Controller/Test.pm 97.01% <100%> (ø) ⬆️
lib/OpenQA/Jobs/Constants.pm 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e1e4230...2ce3164. Read the comment docs.

Copy link
Member

@okurz okurz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would appreciate just a comment, everything else looks good

lib/OpenQA/Jobs/Constants.pm Outdated Show resolved Hide resolved
sub generalize_result {
my ($concrete_result) = @_;
return $GENERALIZED_RESULTS{$concrete_result} // NONE;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. This looks like a similar approach I needed to take in https://github.com/os-autoinst/openQA/pull/2489/files#diff-85ae48e70a5c110c9e439c3a5ea28d5fR233-R246 . So it looks like first we had a manageable list of states+results, then we added more, now we have too many and we need to map them to less. I guess eventually we should look into the "states" and "results" again.

@okurz okurz merged commit 1a89989 into os-autoinst:master Dec 3, 2019
@Martchus Martchus deleted the fix-counting-incompletes branch December 3, 2019 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants